import { ref ,onMounted,computed} from 'vue';

export default function doglist() {
    let sum = ref(0)
    let bigsum = computed(() => {
       return sum.value*10
})
    function changeSum() {
    sum.value++
    }

    onMounted(() => {
        changeSum()
    })
    return {sum,changeSum,bigsum}
}

